package com.sy.mapper;

import com.sy.bean.PackageBean;
import com.sy.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


@Mapper
public interface PackageBeanMapper extends IMapper<PackageBean>{
    /**
     * 批量删除
     * @param beanList 传bean
     * @return 删除行数
     */
    int batchDelete(@Param("beanList") List<PackageBean> beanList);

    /**
     * 查询套餐
     * @return bean
     */
    List<PackageBean> query();
}
